* {
    padding: 0;
    margin: 0;
}

body {
    background: url(../img/containerbg.png) no-repeat center 0;
    background-size: cover;
    background-attachment: fixed;
}

/* 登录面板 */
.login_container {
    position: absolute;
    right: 0;
    margin-right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 400px;
}

/* 切换角色模块 */
.change_role_container_student {
    display: inline-block;
    background-color: #FFAB2D;
    height: 100%;
}

.change_role_container_teacher {
    display: inline-block;
    background-color: #0098F5;
    height: 100%;
}

/* 大logo */
.login_img {
    width: 80%;
    margin-top: 20%;
}

/* logo底部文字 */
.change_bottom {
    position: absolute;
    bottom: 0;
    margin-bottom: 10%;
    left: 50%;
    transform: translateX(-45%);
}

.change_bottom:hover {
    cursor: pointer;
}

/* 箭头 */
.arrow {
    width: 24px;
}

/* 切换角色文字 */
.chang_role_text {
    display: inline-block;
    color: #FFFFFF;
    font-size: 24px;
}

/* 登录表单模块 */
.login_form {
    display: inline-block;
    background-color: #ffffff;
    height: 100%;
    padding: 20px;
}

/* 登录表单顶部文字 */

.login_top_student {
    margin-bottom: 40px;
}

.login_top_teacher {
    margin-bottom: 40px;
}

.login_top_student p {
    width: 30%;
    color: #818181;
    font-size: 24px;
    border-bottom: 3px solid #FFAB2D;
}

.login_top_teacher p {
    width: 30%;
    color: #818181;
    font-size: 24px;
    border-bottom: 3px solid #0098F5;
}

/* input */
.layui-input {
    border-radius: 10px;
}

.form-group {
    margin-bottom: 30px;
}

.text_teacher_login {
    display: inline-block;
    visibility: hidden;
    color: #818181;
}

.text_student_login {
    display: inline-block;
    visibility: hidden;
    color: #818181;
}

.forget_pass_text {
    font-size: 12px;
    color: #818181;
    float: right;
    display: inline-block;
}

/* 登录按钮 */
.student_btn {
    margin-top: 20%;
    background-color: #FFAB2D;
    width: 100%;
}

.teacher-btn {
    margin-top: 20%;
    background-color: #0098F5;
    width: 100%;
}


/* 页面响应化布局 */
@media screen and (max-width:980px ) {
    /* 修改背景 */
    body {
        background: url(../img/container_phone_bg.jpg) no-repeat center 0;
        background-size: cover;
        background-attachment: fixed;
    }

    .change_role_container_student{
        visibility: hidden;
        height: 0px;
    }

    .change_role_container_teacher {
        visibility: hidden;
        height: 0px;
    }

    /* 调整登录表单的大小 */
    .login_container {
        width: 700px;
        margin-right: 0px;
        right: 50%;
        transform: translateX(50%);
        top: 30%;
        height: auto;
    }

    .login_form {
        width: 100%;
    }

    /* 调整顶部文字的大小 */
    .login_top_student p {
        font-size: 48px;
        border-bottom: 6px solid #FFAB2D;
    }

    .login_top_teacher p {
        font-size: 48px;
        border-bottom: 6px solid #0098F5;
    }

    /* 调整input的大小 */
    .layui-input {
        height: 72px;
        margin-top: 70px;
        font-size: 24px;
    }

    /* 忘记密码的大小 */
    .forget_pass_text {
        font-size: 18px;
    }

    /* 按钮字体大小 */
    .layui-btn {
        font-size: 24px;
        height: 70px;
    }

    /* 老师登录按钮位置 */
    .text_teacher_login {
        visibility: visible;
        font-size: 18px;
    }

    /* 学生登录按钮位置 */
    .text_student_login {
        font-size: 18px;
    }

}